package com.sub.project.info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class MtoPost {

    private Integer id;

    private Integer authorId;

    // 标题
    private String title;
    //
    private String comments;
    //内容信息
    private String summary;
    // 标签
    private String tags;
    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date created;
    // 查看次数
    private Integer views;
    //权重
    private Integer weight;
}
